package com.kangye.learnstudent.mapper;

import com.kangye.learnstudent.entity.*;
import org.apache.ibatis.annotations.Param;
//import io.lettuce.core.dynamic.annotation.Param;
//import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import javax.swing.*;
import java.util.List;

/**
 * @program: learndeduo
 * @description: 通知公告接口
 * @author: stl
 * @create: 2021-05-17 09:19
 **/
@Repository
public interface InfomationMapper {
    //通知公告
    List<Infomation> selinfomation();
    //固定试卷
    List<StudentPaper> selFixedTestPaper();
    //时段试卷
    List<StudentPaper> selClassTestPaper(String classesName);
    //头像
    List<User> selHeadPortrait(@Param("user_userName") String userUserName);
    //固定试卷的题目
    List<QuestionBank> questionsPaper(String spName);
}